package com.gt.service.security;

import com.gt.entity.security.LoginDetail;
import com.gt.entity.security.TokenDetail;

public interface LoginService {
    /**
     * 获取用户信息
     * @param username
     * @return
     */
    LoginDetail getLoginDetail(String username);

    /**
     * 生成token
     * @param tokenDetail
     * @return
     */
    String generateToken(TokenDetail tokenDetail);
}
